package com.zgs.mall.gateway.service.impl;

import com.zgs.mall.gateway.bean.GatewayLog;
import com.zgs.mall.gateway.service.AccessLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import reactor.core.publisher.Mono;

@Service
public class AccessLogServiceImpl implements AccessLogService {
//    @Autowired
//    private AccessLogRepository accessLogRepository;

    @Override
    public Mono<GatewayLog> saveAccessLog(GatewayLog gatewayLog) {
        System.out.println(gatewayLog.toString());
        return null;
//              accessLogRepository.insert(gatewayLog);
    }
}